package com.orangelife.service.offset;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.orangelife.exception.AppBizException;
import com.orangelife.webservice.service.propFeeOffsetInfo.entity.OffSetDto;

public interface IOffsetService {
	/**
	 * 
	 * 自动冲抵
	 * */
	public void autoOffset(String commID, String apartmentID, String userID,
			String userName) throws AppBizException;

	/**
	 * 
	 * 自动冲抵
	 * */

	public int cancelOffSet(OffSetDto offSetDto) throws AppBizException;

	/**
	 * 
	 * 根据细项信息创建冲抵信息
	 * */
	public void offsetByDetail(String commID, String apartmentID,
			String userID, Map<String, Object> detail, String userName)
			throws AppBizException;

	/**
	 * 
	 * 根据细项信息创建冲抵信息
	 * */
	public void offsetByDetail(String commID, String apartmentID,
			String userID, List<String> detailIDs, String userName,
			String linkID, BigDecimal money) throws AppBizException;
}
